package com.ruimei.mapper;

import com.ruimei.entitys.LeaveTeacher;
import com.ruimei.entitys.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherLeaveMapper {
    List<Teacher> getDept();
    List<Teacher> getTeacherByDeptId(@Param("deptId") String deptId);
    List<Teacher> getTeacher(@Param("teacherId") String teacherId);
    Integer addTeacherLeave(LeaveTeacher leaveTeacher);
    List<LeaveTeacher> getTeacherLeave(LeaveTeacher leaveTeacher);
    Integer setTeacherLeave(LeaveTeacher leaveTeacher);
}
